<?php
/*
 * @package Webhosting Component
 * @copyright Copyright (C) 2007 Jonas Brand. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * Official website: http://wh-com.de
 */

/*
* Sicherstellen, dass das Script nicht direkt aufgerufen wird
*/
defined( '_VALID_MOS' ) or die('Direct Access to this acript is not allowed');

class wh_featurecat extends mosDBTable
{
	var $id=null;
	var $name=null;
	var $ordering=null;

	function wh_featurecat() {
        global $database;
		$this->mosDBTable('#__wh_featurecat', 'id', $database);
	}
}

class wh_features extends mosDBTable
{
	var $id=null;
	var $standard=null;
	var $cat=null;
	var $name=null;
    var $title=null;
	var $value=null;
    var $ordering=null;

	function wh_features( &$db ) {
		$this->mosDBTable('#__wh_features', 'id', $db);
	}
}

class wh_orders extends mosDBTable
{
    var $id=null;
    var $user_id=null;
    var $plan_id=null;
    var $date=null;
    var $domain_name=null;
    var $customer_id=null;
    var $fname=null;
    var $lname=null;
    var $firm=null;
    var $zip=null;
    var $city=null;
    var $country=null;
    var $email=null;
    var $phone=null;
    var $fax=null;
    var $street1=null;
    var $street2=null;
    var $status=null;

    function wh_orders( &$db ) {
        $this->mosDBTable('#__wh_orders', 'id', $db);
    }
}

class wh_plans extends mosDBTable
{
    var $id=null;
	var $id_vhcs=null;
	var $catid=null;
    var $features=null;
    var $features_short=null;
    var $domains=null;
    var $tlds=null;
    var $tldprices=null;
    var $ordering=null;

	function wh_plans( &$db ) {
		$this->mosDBTable('#__wh_plans', 'id', $db);
	}
}

class wh_plans2 extends mosDBTable
{
    var $id=null;
    var $name=null;
    var $description=null;
    var $props=null;
    var $price=null;
    var $setup_fee=null;
    var $value=null;
    var $payment=null;

	function wh_plans2( &$db ) {
		$this->mosDBTable('#__wh_plans', 'id', $db);
	}
}
class wh_plans_full extends mosDBTable
{
    var $id=null;
	var $id_vhcs=null;
	var $catid=null;
    var $features=null;
    var $features_short=null;
    var $domains=null;
    var $tlds=null;
    var $tldprices=null;
    var $ordering=null;

    var $name=null;
    var $description=null;
    var $props=null;
    var $price=null;
    var $setup_fee=null;
    var $value=null;
    var $payment=null;

	function wh_plans_full( &$db ) {
		$this->mosDBTable('#__wh_plans', 'id', $db);
	}
}
class hosting_plans extends mosDBTable
{
    var $id=null;
    var $reseller_id=null;
    var $name=null;
    var $description=null;
    var $props=null;
    var $price=null;
    var $setup_fee=null;
    var $value=null;
    var $payment=null;

    function hosting_plans( &$db ) {
        $this->mosDBTable('hosting_plans','id',$db);
    }
}
?>
